//-----------------------------------------------------------------------
// <copyright file="a_CreditCardBase.cs" company="AACECOM">
//     Copyright (c) AACECOM. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ThoiTrang.Entities
{
	[Serializable]
	public class a_CreditCardBase
	{
		
		#region Variable Declarations
		private int				ccid = 0;
		private int				userID = 0;
		private string				cardType = string.Empty;
		private string				cardNum = string.Empty;
		private string				expireMonth = string.Empty;
		private string				expireYear = string.Empty;
		private string				nameOnCard = string.Empty;
		private string				firstname = string.Empty;
		private string				lastname = string.Empty;
		private string				securityCode = string.Empty;
		private byte				isDeleted = 0;
		private int				domainID = 0;
		#endregion
		
		#region Constructors
		public a_CreditCardBase() {}
		
		public a_CreditCardBase (
			int ccid,
			int userID,
			string cardType,
			string cardNum,
			string expireMonth,
			string expireYear,
			string nameOnCard,
			string firstname,
			string lastname,
			string securityCode,
			byte isDeleted,
			int domainID)
		
		{
			this.ccid = ccid;
			this.userID = userID;
			this.cardType = cardType;
			this.cardNum = cardNum;
			this.expireMonth = expireMonth;
			this.expireYear = expireYear;
			this.nameOnCard = nameOnCard;
			this.firstname = firstname;
			this.lastname = lastname;
			this.securityCode = securityCode;
			this.isDeleted = isDeleted;
			this.domainID = domainID;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	0=No, 1=Yes
		/// </summary>
		/// <value>This type is int</value>
		public int CCID
		{
			get { return ccid; }
			set { ccid = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int UserID
		{
			get { return userID; }
			set { userID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string CardType
		{
			get { return cardType; }
			set { cardType = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string CardNum
		{
			get { return cardNum; }
			set { cardNum = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string ExpireMonth
		{
			get { return expireMonth; }
			set { expireMonth = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string ExpireYear
		{
			get { return expireYear; }
			set { expireYear = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string NameOnCard
		{
			get { return nameOnCard; }
			set { nameOnCard = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Firstname
		{
			get { return firstname; }
			set { firstname = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Lastname
		{
			get { return lastname; }
			set { lastname = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is char</value>
		public string SecurityCode
		{
			get { return securityCode; }
			set { securityCode = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte IsDeleted
		{
			get { return isDeleted; }
			set { isDeleted = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int DomainID
		{
			get { return domainID; }
			set { domainID = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum a_CreditCardColumns
	{
		CCID,
		UserID,
		CardType,
		CardNum,
		ExpireMonth,
		ExpireYear,
		NameOnCard,
		Firstname,
		Lastname,
		SecurityCode,
		IsDeleted,
		DomainID
	}//End enum
}